home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / dosplus.arc / DOSPLUS.DOC < prev   
Encoding:
Text File  |  1987-05-27  |  21.9 KB  |  590 lines

  1.  
  2.                         DOSPLUS : Resident DOS Utilities
  3.                            Version 1.03, 27-May-1987
  4.                                   SMG Software
  5.  
  6.                              (C) Copyright 1987 by
  7.                                Steven Georgiades
  8.                               All Rights Reserved
  9.  
  10.  
  11.  
  12.          This  program  allows the user to add 9 new resident  commands  to 
  13.     DOS,   under  the CED command editor,  version 1.01   (Copyright  1985, 
  14.     Christopher  J.   Dunford).    CED is a public domain program  that  is 
  15.     available from most major bulletin boards,  including the Circuit Board 
  16.     (714-778-0948).  For more information on CED, see Appendix A, below.  
  17.          DOSPlus occupies about 4 Kbytes of memory when made resident,  and 
  18.     takes up 101 bytes of CED's user command stack.  A detailed description 
  19.     of each of the DOSPlus commands is given in Appendix B,  but here is  a 
  20.     brief summary: 
  21.  
  22.          BEEP    BEEP [/Fn][/Dn][/Rn][/Wn][;...  Enhanced Speaker Output
  23.          CLS     CLS [page]                      Clear Screen
  24.          DHELP   DHELP                           DOSPlus Help Message
  25.          DVER    DVER                            DOSPlus Version Number
  26.          ECHOF   ECHOF [string]                  Formatted Echo
  27.          FREE    FREE                            Memory Status Report
  28.          PAGE    PAGE n                          Change Active Page
  29.          PICK    PICK [{prefix}] mask [suffix]   Pick File Matching Mask
  30.          SPACE   SPACE [d:]                      Disk Status Report
  31.  
  32.     Each of these commands can be entered not only at the DOS prompt,   but 
  33.     also within some applications programs,  including EDLIN and DEBUG, and 
  34.     any  other  program in which the CED editing keys  and  synonyms  work.  
  35.     This  is  why  the CLS command is duplicated in DOSPlus,   when  it  is 
  36.     already available under DOS.  
  37.  
  38.          Note that these commands are NOT available as resident commands 
  39.     from within a batch file.  For this reason, non-resident versions of 
  40.     all of these commands are included in this package.  
  41.  
  42. DOSPLUS, Version 1.03                                                    Page 2
  43.  
  44.     Command Format:
  45.  
  46.          DOSPLUS [-I | -U]
  47.  
  48.               -I = Install  DOSPlus.   If not yet  resident,   will  load 
  49.                    DOSPlus  in memory and make it resident.   If  already 
  50.                    resident, will re-install the DOSPlus commands, taking 
  51.                    up more CED user command space,  but taking up no more 
  52.                    system memory.  This is intended to be used to reverse 
  53.                    the -U option, see below.  
  54.  
  55.               -U = Un-Install  DOSPlus.   This option will only  work  if 
  56.                    DOSPlus  is already resident in memory.   This  option 
  57.                    will  NOT  free the system memory  that  the  resident 
  58.                    portion of DOSPlus occupies.   What it does do is  un-
  59.                    install the DOSPlus resident commands,  freeing up CED 
  60.                    user  command space.   This option is provided in case 
  61.                    the  DOSPlus commands interfere with  other  software.  
  62.                    Before   running   the   problem   software,     enter 
  63.                    "DOSPLUS -U"   to remove the DOSPlus commands.   After 
  64.                    you are finished, enter "DOSPLUS -I" to be able to use 
  65.                    the DOSPlus commands again.    These commands could be 
  66.                    included in a batch file for convenience.  
  67.  
  68.  
  69.     Examples:
  70.  
  71.          DOSPLUS             (Print DOSPlus usage message)
  72.  
  73.          DOSPLUS -I          (Make DOSPlus memory resident.  If already 
  74.                               memory resident, re-install the DOSPlus 
  75.                               commands)
  76.  
  77.          DOSPLUS -U          (Un-install the DOSPlus commands)
  78.  
  79.  
  80.     Revision History:
  81.  
  82.          Version 1.00        Pre-release version.
  83.  
  84.          Version 1.01        Initial Release.  
  85.  
  86.          Version 1.02        Fixed a few minor bugs.
  87.  
  88.          Version 1.03        Fixed minor bug in FREE command.
  89.  
  90. DOSPLUS, Version 1.03                                                    Page 3
  91.  
  92.  
  93.  
  94.          This software is distributed as ShareWare.  "ShareWare" means that 
  95.     you  are granted free license to use and copy this software as much  as 
  96.     you like, within the following restrictions: 
  97.  
  98.          1).  It  is  distributed  in  its  original,   unmodified  form, 
  99.               including program and documentation. 
  100.  
  101.          2).  No  fee is charged for use,  copying or distribution  (With 
  102.               the exception of nominal "per disk" copying charges, not to 
  103.               exceed $6.00 per disk).  
  104.  
  105.          3).  The  program  may  not  be included  with  other  goods  or 
  106.               services  supplied for a fee,  unless written permission to 
  107.               do so is obtained in advance from the author.  
  108.  
  109.     No  registration  fee  is required for DOSPlus,  but if  you  find  the 
  110.     program  valuable,   a   contribution in any amount  would  be  GREATLY 
  111.     appreciated,  and would help to ensure that more quality software  will 
  112.     be  produced.    Minor  program customization can be  performed  on  an 
  113.     individual  basis,   for  a nominal fee of $20.    The  fee  for  major 
  114.     customization is negotiable, but in most cases will not exceed $50.  
  115.  
  116.     With  every  contribution  of $15  or more,  I  will  send  a  diskette 
  117.     containing  the  latest version of the software (unless  you  currently 
  118.     have the latest version,  in which case I will send you the next  major 
  119.     revision),  a printed version of the documentation (8-1/2 x 11,  unless 
  120.     you specify 5-1/2  x 8-1/2), and basic user support, which means that I 
  121.     will  work with you to resolve problems and bugs.   With a contribution 
  122.     of  $25  or more,  I  will also perform any minor customization of  the 
  123.     program  that you may desire (if you are unhappy with a command format, 
  124.     I will change it for you, etc.).  For a contribution of $50 or more,  I 
  125.     will do some major customization (adding commands, etc.), will send you 
  126.     all  major  revisions  for a period of two years,  and I  will  provide 
  127.     telephone support to help you resolve problems.  
  128.  
  129. DOSPLUS, Version 1.03                                                    Page 4
  130.  
  131.  
  132.  
  133.  
  134.     This program is provided AS  IS  without  any  warranty,  expressed  or 
  135.     implied,  including  but  not  limited  to  fitfulness for a particular 
  136.     purpose.  
  137.  
  138.          If  you have any questions or comments about this or any other SMG 
  139.     program, or if you would like to register any SMG Software, write to me 
  140.     at the following address: 
  141.  
  142.                 Steven M. Georgiades
  143.                 SMG Software
  144.                 701-H South Hayward Street
  145.                 Anaheim, CA  92804
  146.  
  147.     Or leave a message for me on the Circuit Board:
  148.  
  149.                 The Circuit Board RBBS
  150.                 SYSOP: Dave Kleinschmidt
  151.                 (714) 778-0948
  152.                 300/1200/2400 Baud - No Fee
  153.  
  154.     All  SMG  Software  is  initially released to the  public  through  the 
  155.     Circuit  Board.   The latest version of any SMG Software can always  be 
  156.     found there.  
  157.  
  158.     A diskette containing all of the latest SMG Software can be obtained by 
  159.     sending a check or money order for $6.00 to the above address.  
  160.  
  161. DOSPLUS, Version 1.03                                                    Page 5
  162.  
  163.  
  164.  
  165.  
  166.                       APPENDIX A : The CED Command Editor
  167.  
  168.  
  169.  
  170.          The  CED command editor is NOT a product of SMG Software.   It was 
  171.     written  by Christopher J.  Dunford,  and he hold the copyright to  it.  
  172.     The program has been placed in the public domain,  and may therefore be 
  173.     freely copied and distributed.  For more information on CED copyrights, 
  174.     and commercial use of CED, see the CED documentation.   The CED Command 
  175.     Editor is: 
  176.     
  177.                               Copyright (c) 1985 by
  178.                              Christopher J. Dunford
  179.                             10057-2 Windstream Drive
  180.                             Columbia, Maryland 21044
  181.                             CompuServe ID 76703,2002
  182.  
  183.          CED is a program that provides the following functions at the DOS 
  184.     prompt, or from within certain applications programs:
  185.  
  186.          -- Complete command line editing facility.
  187.  
  188.          -- Recall of previously issued commands for re-entry.
  189.  
  190.          -- Command synonyms, which may include "chaining" of a series 
  191.             of commands.  
  192.  
  193.          -- Parameterization of synonym commands.
  194.  
  195.          -- Recall of parameters for previously issued commands.
  196.  
  197.          -- User-settable buffer sizes for all functions.
  198.  
  199.          -- For programmers, a facility to add new "resident" commands 
  200.             to the DOS shell (this is what DOSPlus is).
  201.  
  202.     For  further  information on the use of CED,  please refer to  the  CED 
  203.     documentation.  
  204.  
  205.  
  206. DOSPLUS, Version 1.03                                                    Page 6
  207.  
  208.  
  209.  
  210.                        APPENDIX B : The DOSPlus Commands
  211.  
  212.  
  213.          The  DOSPlus commands are summarized below,  and are described  in 
  214.     detail in the following pages.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.          BEEP    BEEP [/Fn][/Dn][/Rn][/Wn][;...  Enhanced Speaker Output
  222.  
  223.          CLS     CLS [page]                      Clear Screen
  224.  
  225.          DHELP   DHELP                           DOSPlus Help Message
  226.  
  227.          DVER    DVER                            DOSPlus Version Number
  228.  
  229.          ECHOF   ECHOF [string]                  Formatted Echo
  230.  
  231.          FREE    FREE                            System Free Memory
  232.  
  233.          PAGE    PAGE n                          Change Active Page
  234.  
  235.          PICK    PICK [{prefix}] mask [suffix]   Pick File Matching Mask
  236.  
  237.          SPACE   SPACE [d:]                      Disk Free Space
  238.  
  239. DOSPLUS, Version 1.03                                                    Page 7
  240.  
  241.  
  242.     BEEP
  243.     Command
  244.     _____________________________________________________________
  245.  
  246.     Purpose:  Produce audio output from the system's speaker.  
  247.  
  248.     Format:   BEEP [/Fn][/Dn][/Rn][/Wn][;[/Fn]...]
  249.  
  250.     Type:     Internal  External
  251.                 (***)     (***)
  252.  
  253.     Remarks:  The  specified  tone or tones are sounded from  the 
  254.               system's  speaker.   A  single tone may be  output, 
  255.               multiple identical tones, or multiple unique tones.  
  256.  
  257.               The  /F parameter provides the ability  to  specify 
  258.               the frequency of the output tone.   The value  must 
  259.               be  specified in Hertz and must be in the range  of 
  260.               19   to 65535.   If this parameter is  omitted,   a 
  261.               default  of  896   Hz is used,  which  matches  the 
  262.               standard PC bell (Control-G).  
  263.  
  264.               The  /D parameter provides the ability  to  specify 
  265.               the duration of the output tone.  The value must be 
  266.               specified in 1/18's of a second and must be in  the 
  267.               range of 1 to 65535.  If this parameter is omitted, 
  268.               a default of 9 is used,  which matches the standard 
  269.               PC bell (Control-G).  
  270.  
  271.               The  /R  parameter provides the ability to  specify 
  272.               the  number of repititions of the tone  to  output.  
  273.               The value must be an integer from 1 to 65535.    If 
  274.               this parameter is omitted, a default of 1 is used.  
  275.  
  276.               The  /W  parameter provides the ability to  specify 
  277.               the  duration of the silence between output  tones.  
  278.               The  value must be specified in 1/18's of a  second 
  279.               and  must be in the range of 0 to 65535.   If  this 
  280.               parameter is omitted, a default of 0 is used.  
  281.  
  282.      Example: The  following example outputs a single tone of 896 
  283.               Hz for 1/2 second (the standard PC bell): 
  284.     
  285.                    A>beep
  286.  
  287.               The following example outputs a single tone of 2000 
  288.               Hz for 2/18 second: 
  289.  
  290.                    A>beep /f2000/d2
  291.  
  292.               The following example outputs three tones, one at 
  293.               1000 Hz for 3/18 second, the next two at 2000 Hz 
  294.               for 4/18 second, with 7/18 second of silence 
  295.               between them:
  296.  
  297.                    A>beep /f1000/d3/w7;/f2000/d4/r2
  298. DOSPLUS, Version 1.03                                                    Page 8
  299.     
  300.                    
  301.     CLS (Clear Screen)
  302.     Command
  303.     _____________________________________________________________
  304.  
  305.     Purpose:  Clears the specified page of video memory.  
  306.  
  307.     Format:   CLS [page]
  308.  
  309.     Type:     Internal  External
  310.                 (***)     (***)
  311.  
  312.     Remarks:  This  command  clears the specified page  of  video 
  313.               memory.    If  no  page number is  specified,   the 
  314.               current active display page is cleared.  
  315.  
  316.     Examples: The  following  example clears the  current  active 
  317.               display page: 
  318.     
  319.                    A>cls
  320.  
  321.               The  following  example  clears  page  3  of  video 
  322.               memory:
  323.           
  324.                    A>cls 3
  325.  
  326. DOSPLUS, Version 1.03                                                    Page 9
  327.  
  328.  
  329.     DHELP (DOSPlus Help)
  330.     Command
  331.     _____________________________________________________________
  332.  
  333.     Purpose:  Gives  a  brief  summary  of  all  of  the  DOSPlus 
  334.               commands.  
  335.  
  336.     Format:   DHELP
  337.  
  338.     Type:     Internal  External
  339.                 (***)     (***)
  340.  
  341.     Remarks:  This  command will print a brief summary of all  of 
  342.               the DOSPlus commands to the standard output device.  
  343.               The output from this command can NOT be  redirected 
  344.               or  piped (using the DOS special characters,   '>', 
  345.               '>>' or '|'), but can be printed using Ctrl-PrtSc. 
  346.  
  347.     Example:  The following example displays DOSPlus help:
  348.  
  349.                    A>dhelp
  350.  
  351. DOSPLUS, Version 1.03                                                   Page 10
  352.  
  353.  
  354.     DVER (DOSPlus Version)
  355.     Command
  356.     _____________________________________________________________
  357.  
  358.     Purpose:  Displays  the DOSPlus version number and  copyright 
  359.               notice on the standard output device.  
  360.  
  361.     Format:   DVER
  362.  
  363.     Type:     Internal  External
  364.                 (***)     (***)
  365.  
  366.     Remarks:  The  DOSPlus  version number consists of a  single-
  367.               digit  major version number,  followed by a decimal 
  368.               point and a two-digit minor version number.  
  369.  
  370.     Example:  The following example displays the current  DOSPlus 
  371.               version number: 
  372.  
  373.                    A>dver
  374.  
  375.               The result is:
  376.  
  377.                    DOSPlus Utilities, Version 1.03 
  378.                    SMG Software
  379.                    Copyright 1987 Steven Georgiades
  380.  
  381. DOSPLUS, Version 1.03                                                   Page 11
  382.  
  383.  
  384.     ECHOF (Formatted Echo)
  385.     Command
  386.     _____________________________________________________________
  387.  
  388.     Purpose:  Sends  the  command line argument to  the  standard 
  389.               output device,  after processing special formatting 
  390.               characters.  
  391.  
  392.     Format:   ECHOF string
  393.  
  394.     Type:     Internal  External
  395.                 (***)     (***)
  396.  
  397.     Remarks:  The special formatting characters that are 
  398.               translated by ECHOF are as follows:
  399.  
  400.                    \B or \b  Output a Backspace Character
  401.  
  402.                    \D or \d  Output a Delete Character
  403.  
  404.                    \E or \e  Output an Escape Character
  405.  
  406.                    \G or \g  Output a Bell Character (Ctrl-G)
  407.  
  408.                    \L or \l  Output a Line Feed
  409.  
  410.                    \N or \n  Output a Carriage Return & Line Feed
  411.  
  412.                    \R or \r  Output a Carriage Return
  413.  
  414.                    \T or \t  Output a Tab Character
  415.  
  416.  
  417.     Example:  The following example outputs a formatted message:
  418.  
  419.                    A>echof Hello!!\g\lHow are you?\l\b\bOK\n\n
  420.  
  421.               The result is:
  422.  
  423.                    Hello!!
  424.                           How are you?
  425.                                     OK
  426.  
  427.  
  428.                    A>
  429.  
  430. DOSPLUS, Version 1.03                                                   Page 12
  431.  
  432.  
  433.     FREE (Free Memory)
  434.     Command
  435.     _____________________________________________________________
  436.  
  437.     Purpose:  Produces a memory status report.  
  438.  
  439.     Format:   FREE
  440.  
  441.     Type:     Internal  External
  442.                 (***)     (***)
  443.  
  444.     Remarks:  This  command will produce a memory status  report, 
  445.               which includes the total normal memory installed in 
  446.               the  system,  as well as the portion of that memory 
  447.               that is available for use by applications programs.  
  448.               On  systems  that  have an  expanded  memory  board 
  449.               installed  that  conforms   to   the   Lotus/Intel/ 
  450.               Microsoft  EMS  spec,   that memory  will  also  be 
  451.               reported.  In addition, if you are running on an AT 
  452.               or compatible and have  extended  memory  installed 
  453.               (above  the  1 Mbyte boundary),  that will also  be 
  454.               reported.  
  455.  
  456.     Example:  The following example prints a memory status report:
  457.  
  458.                    A>free
  459.  
  460.               The result is (for my system):
  461.  
  462.                      655360 Bytes Total Memory
  463.                      204448 Bytes Available Memory (31.19%)
  464.  
  465. DOSPLUS, Version 1.03                                                   Page 13
  466.  
  467.  
  468.     PAGE (Change Active Display Page)
  469.     Command
  470.     _____________________________________________________________
  471.  
  472.     Purpose:  Changes the current active display page.  
  473.  
  474.     Format:   PAGE [page]
  475.  
  476.     Type:     Internal  External
  477.                 (***)     (***)
  478.  
  479.     Remarks:  This    command  will  change  the  current  active 
  480.               display  page to the page specified.   If the  page 
  481.               number  is omitted,  this command will  respond  by 
  482.               reporting what the current active display page is.  
  483.  
  484.     Example:  The following example makes video page 0 the active 
  485.               display page:
  486.  
  487.                    A>page 0
  488.  
  489.               The following example will tell which display page 
  490.               is currently active:
  491.  
  492.                    A>page
  493.  
  494.               The result is:
  495.  
  496.                    Page 0 is currently active
  497.  
  498. DOSPLUS, Version 1.03                                                   Page 14
  499.  
  500.  
  501.     PICK (Select File Matching Mask)
  502.     Command
  503.     _____________________________________________________________
  504.  
  505.     Purpose:  Picks a file from those matching the filemask.  
  506.  
  507.     Format:   PICK [{prefix}] filemask [suffix]
  508.  
  509.     Type:     Internal  External
  510.                 (***)     (***)
  511.  
  512.     Remarks:  This command will search for all files matching the 
  513.               specified  filemask,   and will allow the  user  to 
  514.               interactively select from among them,  using the UP 
  515.               and  DOWN  cursor  keys.   Once  a  file  has  been 
  516.               selected,    a   command  line  is  constructed  by 
  517.               assembling  the  prefix  (if any),  followed  by  a 
  518.               single space character, then the selected filename.  
  519.               If a suffix was specified, a single space character 
  520.               will be appended,  followed by the suffix.   If the 
  521.               the filemask matches no files, then the filemask is 
  522.               used as the filename (this is to allow the creation 
  523.               of  new files).   If the filemask matches only  one 
  524.               file, then the user is given no choice, and the one 
  525.               matching filename is used.  
  526.  
  527.               The filemask may optionally include a drive  letter 
  528.               and/or a path,  and may include wildcard characters 
  529.               ('?' and '*').  
  530.  
  531.     Example:  The following example allows the user to select for 
  532.               line-editing  any file in the current directory  of 
  533.               the current drive with an extension of ".DOC": 
  534.  
  535.                    A>pick {edlin} *.doc
  536.  
  537.               Assuming  the  user selected the file  "GAMES.DOC", 
  538.               the resulting command line will be: 
  539.  
  540.                    edlin GAMES.DOC
  541.  
  542.               The following example allows the user to select for 
  543.               debugging any file in the "SYS"  directory of drive 
  544.               A: with an extension of ".COM".  The parameter "49" 
  545.               will be appended to the resulting command line: 
  546.  
  547.                    A>pick {debug} a:\sys\*.com 49
  548.  
  549.               Assuming  the  user selected the file  "SDIR.COM", 
  550.               the resulting command line will be: 
  551.  
  552.                    debug a:\sys\SDIR.COM 49
  553.  
  554. DOSPLUS, Version 1.03                                                   Page 15
  555.  
  556.  
  557.     SPACE (Disk Status Report)
  558.     Command
  559.     _____________________________________________________________
  560.  
  561.     Purpose:  Produces a disk status report.  
  562.  
  563.     Format:   SPACE [d:]
  564.  
  565.     Type:     Internal  External
  566.                 (***)     (***)
  567.  
  568.     Remarks:  This  command  will produce a disk  status  report, 
  569.               which  includes the total amount of disk  space  on 
  570.               the specified disk,  as well as the portion of that 
  571.               space that is not currently in use.  
  572.  
  573.     Example:  The  following example prints a disk status  report 
  574.               for the current default drive: 
  575.  
  576.                    A>space
  577.  
  578.                       362496 Bytes Total Disk Space on Drive A:
  579.                        60416 Bytes Available (16.66%)          
  580.  
  581.               The  following example prints a disk status  report 
  582.               for drive B:
  583.  
  584.                    A>space b:
  585.  
  586.               The result is:
  587.  
  588.                       362496 Bytes Total Disk Space on Drive B:
  589.                       362496 Bytes Available (100.0%)
  590.